package com.haidechizi.tree.code;

public class TestHuffmanCode {

    public static void main(String[] args) {

        String str = "if you can,you can,please try again!";
        String name = "test.zip";
//        HuffmanCode.huffmanZip(str.getBytes());

        String filepath = "I:\\test\\test.jpg";
        String outpath = "I:\\test\\file.zip";
        HuffmanCode.zipFile(filepath, outpath);

        HuffmanCode.unzipFile(outpath,"I:\\");


    }
}
